/*
*Copyright 2021-2023 NERCIS
*
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*Unless required by applicable law or agreed to in writing, software
*distributed under the License is distributed on an "AS IS" BASIS,
*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*See the License for the specific language governing permissions and
*limitations under the License.
*/

package cn.ac.nercis.pes.community.model.vo.manage;

import javafx.beans.property.SimpleStringProperty;

/**
 * 被测单位，新增/修改视图模型
 * @author zpy
 * @version 1.0.0
 */
public class TestedUnitVO {
    private final SimpleStringProperty id = new SimpleStringProperty();
    private final SimpleStringProperty name = new SimpleStringProperty();
    private final SimpleStringProperty address = new SimpleStringProperty();
    private final SimpleStringProperty postalCode = new SimpleStringProperty();
    private final SimpleStringProperty manage = new SimpleStringProperty();
    private final SimpleStringProperty contactPerson = new SimpleStringProperty();
    private final SimpleStringProperty contactPosition = new SimpleStringProperty();
    private final SimpleStringProperty contactDepartment = new SimpleStringProperty();
    private final SimpleStringProperty contactTel = new SimpleStringProperty();
    private final SimpleStringProperty contactPhone = new SimpleStringProperty();
    private final SimpleStringProperty contactEmail = new SimpleStringProperty();

    public String getId() {
        return id.get();
    }

    public SimpleStringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }

    public SimpleStringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getAddress() {
        return address.get();
    }

    public SimpleStringProperty addressProperty() {
        return address;
    }

    public void setAddress(String address) {
        this.address.set(address);
    }

    public String getPostalCode() {
        return postalCode.get();
    }

    public SimpleStringProperty postalCodeProperty() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode.set(postalCode);
    }

    public String getManage() {
        return manage.get();
    }

    public SimpleStringProperty manageProperty() {
        return manage;
    }

    public void setManage(String manage) {
        this.manage.set(manage);
    }

    public String getContactPerson() {
        return contactPerson.get();
    }

    public SimpleStringProperty contactPersonProperty() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson.set(contactPerson);
    }

    public String getContactPosition() {
        return contactPosition.get();
    }

    public SimpleStringProperty contactPositionProperty() {
        return contactPosition;
    }

    public void setContactPosition(String contactPosition) {
        this.contactPosition.set(contactPosition);
    }

    public String getContactDepartment() {
        return contactDepartment.get();
    }

    public SimpleStringProperty contactDepartmentProperty() {
        return contactDepartment;
    }

    public void setContactDepartment(String contactDepartment) {
        this.contactDepartment.set(contactDepartment);
    }

    public String getContactTel() {
        return contactTel.get();
    }

    public SimpleStringProperty contactTelProperty() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel.set(contactTel);
    }

    public String getContactPhone() {
        return contactPhone.get();
    }

    public SimpleStringProperty contactPhoneProperty() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone.set(contactPhone);
    }

    public String getContactEmail() {
        return contactEmail.get();
    }

    public SimpleStringProperty contactEmailProperty() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail.set(contactEmail);
    }
}